Package-level declarations
Types
EN Represents a custom dimension entry with qualifiers and priority. Used by the DimenPercent class to define specific values for screen conditions.
EN Represents a custom Sp entry with qualifiers and priority, for the Compose Sp builder.
EN A Stable class that allows defining custom dimensions based on screen qualifiers (UiModeType, Width, Height, Smallest Width).
EN A Stable Compose class that allows defining custom Sp text dimensions based on screen qualifiers (UiModeType, Width, Height, Smallest Width).
Properties
Functions
EN Internal logic to calculate the scaled SP value before density/font-scale adjustment. PT Lógica interna para calcular o valor SP escalado antes do ajuste de densidade/fonte.
EN Gets the actual value from the Configuration for the given DpQualifier.
EN Starts the build chain for the custom dimension DimenPercent from a base Dp. PT Inicia a cadeia de construção para a dimensão customizada DimenPercent a partir de um Dp base.
EN Starts the build chain for the custom dimension DimenPercent from a base Int. Usage example: 100.scaled().screen(...).
EN Starts the build chain for PercentSp from a base TextUnit (Sp). Usage example: 16.sp.percentSp().screen(...).
EN Starts the build chain for PercentSp from a base Int (treated as sp). Usage example: 16.percentSp().screen(...).
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead. Usage example: 30.hdpMode(50, UiModeType.TELEVISION) → 30.hdp by default, 50.hdp on television.
EN Plain hdp mode: mode and receiver already scaled; logic only. PT Modo hdp Plain: mode e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Pixel variant of phdpModePlain with mode as Dp. PT Variante em px de phdpModePlain com mode em Dp.
EN Pixel (Float) variant of hdpModePlain. PT Variante em Pixel (Float) de hdpModePlain.
EN Pixel (Float) variant of hdpMode. PT Variante em Pixel (Float) de hdpMode.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.hdpQualifier(50, DpQualifier.HEIGHT, 800) → 30.hdp by default, 50.hdp when screenHeightDp >= 800.
EN Plain hdp qualifier: qualified and receiver already scaled; logic only. PT Qualificador hdp Plain: qualified e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Pixel variant of phdpQualifierPlain with qualified as Dp. PT Variante em px de phdpQualifierPlain com qualified em Dp.
EN Pixel (Float) variant of hdpQualifierPlain. PT Variante em Pixel (Float) de hdpQualifierPlain.
EN Pixel (Float) variant of hdpQualifier. PT Variante em Pixel (Float) de hdpQualifier.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver. Usage example: 30.hdpRot(45, DpQualifier.HEIGHT, Orientation.LANDSCAPE) → 30.hdp by default, 45 scaled by HEIGHT in landscape.
EN Plain hdp rotation: rotation and receiver already scaled; logic only. PT Rotação hdp Plain: rotation e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Pixel variant of phdpRotatePlain with rotation as Dp. PT Variante em px de phdpRotatePlain com rotation em Dp.
EN Pixel (Float) variant of hdpRotatePlain. PT Variante em Pixel (Float) de hdpRotatePlain.
EN Pixel (Float) variant of hdpRotate. PT Variante em Pixel (Float) de hdpRotate.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.hdpScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.hdp by default, 50.hdp on television with height >= 800.
EN Plain hdp screen: screen and receiver already scaled; logic only. PT Ecrã hdp Plain: screen e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Pixel variant of phdpScreenPlain with screen as Dp. PT Variante em px de phdpScreenPlain com screen em Dp.
EN Pixel (Float) variant of hdpScreenPlain. PT Variante em Pixel (Float) de hdpScreenPlain.
EN Pixel (Float) variant of hdpScreen. PT Variante em Pixel (Float) de hdpScreen.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Int with dynamic scaling based on Screen Height (hDP).
EN Plain phsp mode: mode and receiver already scaled; logic only. PT Modo phsp Plain: mode e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Pixel variant of phspModePlain with mode as TextUnit. PT Variante em px de phspModePlain com mode em TextUnit.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.phspQualifier(50, DpQualifier.HEIGHT, 800) → 30.phsp by default, 50.phsp when screenHeightDp >= 800.
EN Plain phsp qualifier: qualified and receiver already scaled; logic only. PT Qualificador phsp Plain: qualified e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Pixel variant of phspQualifierPlain with qualified as TextUnit. PT Variante em px de phspQualifierPlain com qualified em TextUnit.
EN Pixel (Float) variant of phspQualifierPlain. PT Variante em Pixel (Float) de phspQualifierPlain.
EN Pixel (Float) variant of phspQualifier. PT Variante em Pixel (Float) de phspQualifier.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Int with dynamic scaling based on Screen Height (hDP).
EN Plain phsp rotation: rotation and receiver already scaled; logic only. PT Rotação phsp Plain: rotation e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Pixel variant of phspRotatePlain with rotation as TextUnit. PT Variante em px de phspRotatePlain com rotation em TextUnit.
EN Pixel (Float) variant of phspRotatePlain. PT Variante em Pixel (Float) de phspRotatePlain.
EN Pixel (Float) variant of phspRotate. PT Variante em Pixel (Float) de phspRotate.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.phspScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.phsp by default, 50.phsp on television with height >= 800.
EN Plain phsp screen: screen and receiver already scaled; logic only. PT Ecrã phsp Plain: screen e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Pixel variant of phspScreenPlain with screen as TextUnit. PT Variante em px de phspScreenPlain com screen em TextUnit.
EN Pixel (Float) variant of phspScreenPlain. PT Variante em Pixel (Float) de phspScreenPlain.
EN Pixel (Float) variant of phspScreen. PT Variante em Pixel (Float) de phspScreen.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead. Usage example: 30.sdpMode(50, UiModeType.TELEVISION) → 30.sdp by default, 50.sdp on television.
EN Plain sdp mode: mode and receiver already scaled; logic only. PT Modo sdp Plain: mode e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Pixel variant of psdpModePlain with mode as Dp. PT Variante em px de psdpModePlain com mode em Dp.
EN Pixel (Float) variant of sdpModePlain. PT Variante em Pixel (Float) de sdpModePlain.
EN Pixel (Float) variant of sdpMode. PT Variante em Pixel (Float) de sdpMode.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.sdpQualifier(50, DpQualifier.SMALL_WIDTH, 600) → 30.sdp by default, 50.sdp when smallestScreenWidthDp >= 600.
EN Plain sdp qualifier: qualified and receiver already scaled; logic only (qualifierValue is config threshold). PT Qualificador sdp Plain: qualified e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Pixel variant of psdpQualifierPlain with qualified as Dp. PT Variante em px de psdpQualifierPlain com qualified em Dp.
EN Pixel (Float) variant of sdpQualifierPlain. PT Variante em Pixel (Float) de sdpQualifierPlain.
EN Pixel (Float) variant of sdpQualifier. PT Variante em Pixel (Float) de sdpQualifier.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver. Usage example: 30.sdpRot(45, DpQualifier.SMALL_WIDTH, Orientation.LANDSCAPE) → 30.sdp by default, 45 scaled by SMALL_WIDTH in landscape.
EN Plain rotation with already scaled rotation and receiver: no further scaling, only the orientation branch. Use when both sides come from the same strategy (e.g. 30.psdp.psdpRotatePlain(20.psdp)).
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Pixel (Float) variant of psdpRotatePlain with rotation as Dp (no scaling). PT Variante em Pixel (Float) de psdpRotatePlain com rotation em Dp (sem escala).
EN Pixel (Float) variant of sdpRotatePlain. PT Variante em Pixel (Float) de sdpRotatePlain.
EN Pixel (Float) variant of sdpRotate. PT Variante em Pixel (Float) de sdpRotate.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.sdpScreen(50, UiModeType.TELEVISION, DpQualifier.SMALL_WIDTH, 600) → 30.sdp by default, 50.sdp on television with sw >= 600.
EN Plain sdp screen: screen and receiver already scaled; logic only (ui mode + qualifier threshold). PT Ecrã sdp Plain: screen e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Pixel variant of psdpScreenPlain with screen as Dp. PT Variante em px de psdpScreenPlain com screen em Dp.
EN Pixel (Float) variant of sdpScreenPlain. PT Variante em Pixel (Float) de sdpScreenPlain.
EN Pixel (Float) variant of sdpScreen. PT Variante em Pixel (Float) de sdpScreen.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead.
EN Plain pssp mode: mode and receiver already scaled; logic only. PT Modo pssp Plain: mode e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Pixel variant of psspModePlain with mode as TextUnit. PT Variante em px de psspModePlain com mode em TextUnit.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.psspQualifier(50, DpQualifier.SMALL_WIDTH, 600) → 30.pssp by default, 50.pssp when smallestScreenWidthDp >= 600.
EN Plain pssp qualifier: qualified and receiver already scaled; logic only. PT Qualificador pssp Plain: qualified e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Pixel variant of psspQualifierPlain with qualified as TextUnit. PT Variante em px de psspQualifierPlain com qualified em TextUnit.
EN Pixel (Float) variant of psspQualifierPlain. PT Variante em Pixel (Float) de psspQualifierPlain.
EN Pixel (Float) variant of psspQualifier. PT Variante em Pixel (Float) de psspQualifier.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Plain pssp rotation: rotation and receiver already scaled; logic only. PT Rotação pssp Plain: rotation e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Pixel variant of psspRotatePlain with rotation as TextUnit (no scaling). PT Variante em px de psspRotatePlain com rotation em TextUnit (psem escala).
EN Pixel (Float) variant of psspRotatePlain. PT Variante em Pixel (Float) de psspRotatePlain.
EN Pixel (Float) variant of psspRotate. PT Variante em Pixel (Float) de psspRotate.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.psspScreen(50, UiModeType.TELEVISION, DpQualifier.SMALL_WIDTH, 600) → 30.pssp by default, 50.pssp on television with sw >= 600.
EN Plain pssp screen: screen and receiver already scaled; logic only. PT Ecrã pssp Plain: screen e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Pixel variant of psspScreenPlain with screen as TextUnit. PT Variante em px de psspScreenPlain com screen em TextUnit.
EN Pixel (Float) variant of psspScreenPlain. PT Variante em Pixel (Float) de psspScreenPlain.
EN Pixel (Float) variant of psspScreen. PT Variante em Pixel (Float) de psspScreen.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead. Usage example: 30.wdpMode(50, UiModeType.TELEVISION) → 30.wdp by default, 50.wdp on television.
EN Plain wdp mode: mode and receiver already scaled; logic only. PT Modo wdp Plain: mode e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Pixel variant of pwdpModePlain with mode as Dp. PT Variante em px de pwdpModePlain com mode em Dp.
EN Pixel (Float) variant of wdpModePlain. PT Variante em Pixel (Float) de wdpModePlain.
EN Pixel (Float) variant of wdpMode. PT Variante em Pixel (Float) de wdpMode.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.wdpQualifier(50, DpQualifier.WIDTH, 600) → 30.wdp by default, 50.wdp when screenWidthDp >= 600.
EN Plain wdp qualifier: qualified and receiver already scaled; logic only. PT Qualificador wdp Plain: qualified e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Pixel variant of pwdpQualifierPlain with qualified as Dp. PT Variante em px de pwdpQualifierPlain com qualified em Dp.
EN Pixel (Float) variant of wdpQualifierPlain. PT Variante em Pixel (Float) de wdpQualifierPlain.
EN Pixel (Float) variant of wdpQualifier. PT Variante em Pixel (Float) de wdpQualifier.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver. Usage example: 30.wdpRot(45, DpQualifier.WIDTH, Orientation.LANDSCAPE) → 30.wdp by default, 45 scaled by WIDTH in landscape.
EN Plain wdp rotation: rotation and receiver already scaled; logic only. PT Rotação wdp Plain: rotation e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Pixel variant of pwdpRotatePlain with rotation as Dp. PT Variante em px de pwdpRotatePlain com rotation em Dp.
EN Pixel (Float) variant of wdpRotatePlain. PT Variante em Pixel (Float) de wdpRotatePlain.
EN Pixel (Float) variant of wdpRotate. PT Variante em Pixel (Float) de wdpRotate.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.wdpScreen(50, UiModeType.TELEVISION, DpQualifier.WIDTH, 600) → 30.wdp by default, 50.wdp on television with width >= 600.
EN Plain wdp screen: screen and receiver already scaled; logic only. PT Ecrã wdp Plain: screen e recetor já escalados; só a lógica.
EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Pixel variant of pwdpScreenPlain with screen as Dp. PT Variante em px de pwdpScreenPlain com screen em Dp.
EN Pixel (Float) variant of wdpScreenPlain. PT Variante em Pixel (Float) de wdpScreenPlain.
EN Pixel (Float) variant of wdpScreen. PT Variante em Pixel (Float) de wdpScreen.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Int with dynamic scaling based on Screen Width (wDP).
EN Plain pwsp mode: mode and receiver already scaled; logic only. PT Modo pwsp Plain: mode e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.
EN Pixel variant of pwspModePlain with mode as TextUnit. PT Variante em px de pwspModePlain com mode em TextUnit.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.pwspQualifier(50, DpQualifier.WIDTH, 600) → 30.pwsp by default, 50.pwsp when screenWidthDp >= 600.
EN Plain pwsp qualifier: qualified and receiver already scaled; logic only. PT Qualificador pwsp Plain: qualified e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Pixel variant of pwspQualifierPlain with qualified as TextUnit. PT Variante em px de pwspQualifierPlain com qualified em TextUnit.
EN Pixel (Float) variant of pwspQualifierPlain. PT Variante em Pixel (Float) de pwspQualifierPlain.
EN Pixel (Float) variant of pwspQualifier. PT Variante em Pixel (Float) de pwspQualifier.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Int with dynamic scaling based on Screen Width (wDP).
EN Plain pwsp rotation: rotation and receiver already scaled; logic only. PT Rotação pwsp Plain: rotation e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Pixel variant of pwspRotatePlain with rotation as TextUnit. PT Variante em px de pwspRotatePlain com rotation em TextUnit.
EN Pixel (Float) variant of pwspRotatePlain. PT Variante em Pixel (Float) de pwspRotatePlain.
EN Pixel (Float) variant of pwspRotate. PT Variante em Pixel (Float) de pwspRotate.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.pwspScreen(50, UiModeType.TELEVISION, DpQualifier.WIDTH, 600) → 30.pwsp by default, 50.pwsp on television with width >= 600.
EN Plain pwsp screen: screen and receiver already scaled; logic only. PT Ecrã pwsp Plain: screen e recetor já escalados; só a lógica.
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Pixel variant of pwspScreenPlain with screen as TextUnit. PT Variante em px de pwspScreenPlain com screen em TextUnit.
EN Pixel (Float) variant of pwspScreenPlain. PT Variante em Pixel (Float) de pwspScreenPlain.
EN Pixel (Float) variant of pwspScreen. PT Variante em Pixel (Float) de pwspScreen.
EN remembers the cached TextUnit for toDynamicPercentSp using cacheKey and spStamp. PT remember do TextUnit em cache para toDynamicPercentSp usando cacheKey e spStamp.
EN remembers the cached px Float for toDynamicPercentPx using cacheKey and psspPxStamp. PT remember do Float em px para toDynamicPercentPx usando cacheKey e psspPxStamp.
EN Converts a Number (base Dp value) into a dynamically scaled Dp for use in Jetpack Compose.
EN Converts a Number (base value) into a dynamically scaled TextUnit (Sp) for Jetpack Compose.